package com.kust.smarthome.web.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel("用户信息返回封装类")
public class PersonDetailsDto implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("关系类型")
    private Integer relationTypeId;

    @ApiModelProperty("头像id")
    private Integer logoId;

    @ApiModelProperty("关系人姓名")
    private String personName;

    @ApiModelProperty("关系人生日")
    private LocalDateTime personBirth;

    @ApiModelProperty("关系热性别")
    private Integer personSex;

    @ApiModelProperty("关系人身高")
    private Double height;

    @ApiModelProperty("关系人体重")
    private Double weight;

    @ApiModelProperty("关系人当前心率")
    private Integer rateNow;



    @ApiModelProperty("关系人安全距离")
    private Double safeDistance;

}
